package com.whoiszxl.cqrs.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "采购订单商品详情表")
public class PurchaseOrderItemVO implements Serializable {

    @Schema(description = "采购单ID")
    private Long purchaseOrderId;

    @Schema(description = "商品SKU ID")
    private Long skuId;

    @Schema(description = "采购数量")
    private Long purchaseQuantity;

    @Schema(description = "采购价格")
    private BigDecimal purchasePrice;

    @Schema(description = "合格商品的数量")
    private Integer qualifiedCount;

    @Schema(description = "到货的商品数量")
    private Integer arrivalCount;

    @Schema(description = "仓库ID")
    private Long warehouseId;

    @Schema(description = "仓库货架ID")
    private Long warehouseShelfId;

}